<?php
/**
 * This file is part of Hyperf Mall.
 *
 * @link     https://gitee.com/scwlkj/hyperf_mall
 * @contact  hyperf_mall@163.com
 */

namespace App\JsonRpc;

use App\Repository\IndexMenuRepository;
use Hyperf\RpcServer\Annotation\RpcService;
use App\JsonRpc\Interfaces\IndexMenuServiceInterface;

/**
 * @RpcService(name="Config::IndexMenuService", protocol="jsonrpc", server="jsonrpc")
 */
class IndexMenuService extends BaseService implements IndexMenuServiceInterface
{
    public function init()
    {
        $this->repository = IndexMenuRepository::getInstance();
    }
}
